package com.shatower.chatctrl.result;

import java.io.Serializable;

/**
 * @description：操作结果集
 */
public class Result implements Serializable {

    public static final int SUCCESS = 0;
    public static final int FAILURE = 1;

    private static final long serialVersionUID = 5576237395711742681L;

    private Short code = SUCCESS;

    private String msg = "";

    private Object obj = null;

    public Short getCode() {
        return code;
    }

    public void setCode(Short code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }

}
